<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/ZWaveApi.Net.CommandClasses" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/ZWaveApi.Net.CommandClasses" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import schemaLocation="http://flemming-pc/ZWaveApi.Web/ZWaveApiService.svc?xsd=xsd1" namespace="http://schemas.microsoft.com/2003/10/Serialization/" />
  <xs:complexType name="ArrayOfGenericCommandClass">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="GenericCommandClass" nillable="true" type="tns:GenericCommandClass" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfGenericCommandClass" nillable="true" type="tns:ArrayOfGenericCommandClass" />
  <xs:complexType name="GenericCommandClass">
    <xs:sequence>
      <xs:element minOccurs="0" name="CommandClass" type="tns:CommandClass" />
      <xs:element minOccurs="0" name="NodeId" type="xs:unsignedByte" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="GenericCommandClass" nillable="true" type="tns:GenericCommandClass" />
  <xs:simpleType name="CommandClass">
    <xs:restriction base="xs:string">
      <xs:enumeration value="Basic">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">32</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="ControllerReplication">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">33</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="ApplicationStatus">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">34</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="SwitchBinary">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">37</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="SwitchMultilevel">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">38</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="SwitchAll">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">39</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="SwitchToggleBinary">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">40</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="SwitchToggleMultilevel">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">41</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="SceneActivation">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">43</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="SceneActuatorConf">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">44</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="SensorBinary">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">48</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="SensorMultiLevel">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">49</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="Meter">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">50</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MeterPulse">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">53</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="ThermostatMode">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">64</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="ThermostatOperatingState">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">66</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="ThermostatSetpoint">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">67</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="ThermostatFanMode">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">68</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="ThermostatFanState">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">69</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="ClimateControlSchedule">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">70</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="BasicWindowCovering">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">80</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MultiInstance">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">96</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="Configuration">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">112</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="Alarm">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">113</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="ManufacturerSpecific">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">114</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="PowerLevel">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">115</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="Protection">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">117</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="Lock">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">118</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NodeNaming">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">119</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="Battery">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">128</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="Clock">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">129</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="Hail">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">130</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="WakeUp">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">132</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="Association">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">133</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="Version">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">134</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="Indicator">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">135</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="Proprietary">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">136</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="Language">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">137</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MultiInstanceAssociation">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">142</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MultiCmd">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">143</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="EnergyProduction">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">144</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="ManufacturerProprietary">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">145</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="AssociationCommandConfiguration">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">155</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="Mark">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">239</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="CommandClass" nillable="true" type="tns:CommandClass" />
  <xs:complexType name="Language">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:GenericCommandClass">
        <xs:sequence />
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="Language" nillable="true" type="tns:Language" />
  <xs:complexType name="Meter">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:GenericCommandClass">
        <xs:sequence />
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="Meter" nillable="true" type="tns:Meter" />
  <xs:complexType name="MeterPulse">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:GenericCommandClass">
        <xs:sequence />
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="MeterPulse" nillable="true" type="tns:MeterPulse" />
  <xs:complexType name="MultiCmd">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:GenericCommandClass">
        <xs:sequence />
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="MultiCmd" nillable="true" type="tns:MultiCmd" />
  <xs:complexType name="MultiInstance">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:GenericCommandClass">
        <xs:sequence />
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="MultiInstance" nillable="true" type="tns:MultiInstance" />
  <xs:complexType name="MultiInstanceAssociation">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:GenericCommandClass">
        <xs:sequence />
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="MultiInstanceAssociation" nillable="true" type="tns:MultiInstanceAssociation" />
  <xs:complexType name="NodeNaming">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:GenericCommandClass">
        <xs:sequence />
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="NodeNaming" nillable="true" type="tns:NodeNaming" />
  <xs:complexType name="PowerLevel">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:GenericCommandClass">
        <xs:sequence />
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="PowerLevel" nillable="true" type="tns:PowerLevel" />
  <xs:complexType name="Proprietary">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:GenericCommandClass">
        <xs:sequence />
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="Proprietary" nillable="true" type="tns:Proprietary" />
  <xs:complexType name="Protection">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:GenericCommandClass">
        <xs:sequence>
          <xs:element minOccurs="0" name="State" type="xs:unsignedByte" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="Protection" nillable="true" type="tns:Protection" />
  <xs:complexType name="SensorBinary">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:GenericCommandClass">
        <xs:sequence>
          <xs:element minOccurs="0" name="State" type="tns:BinaryStatus" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="SensorBinary" nillable="true" type="tns:SensorBinary" />
  <xs:simpleType name="BinaryStatus">
    <xs:restriction base="xs:string">
      <xs:enumeration value="Off" />
      <xs:enumeration value="On">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">255</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="BinaryStatus" nillable="true" type="tns:BinaryStatus" />
  <xs:complexType name="Indicator">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:GenericCommandClass">
        <xs:sequence />
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="Indicator" nillable="true" type="tns:Indicator" />
  <xs:complexType name="SwitchAll">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:GenericCommandClass">
        <xs:sequence>
          <xs:element minOccurs="0" name="State" type="tns:BinaryStatus" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="SwitchAll" nillable="true" type="tns:SwitchAll" />
  <xs:complexType name="SwitchBinary">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:GenericCommandClass">
        <xs:sequence>
          <xs:element minOccurs="0" name="State" type="tns:BinaryStatus" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="SwitchBinary" nillable="true" type="tns:SwitchBinary" />
  <xs:complexType name="SwitchMultilevel">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:GenericCommandClass">
        <xs:sequence>
          <xs:element minOccurs="0" name="Level" type="xs:unsignedByte" />
          <xs:element minOccurs="0" name="State" type="tns:BinaryStatus" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="SwitchMultilevel" nillable="true" type="tns:SwitchMultilevel" />
  <xs:complexType name="SwitchToggleBinary">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:GenericCommandClass">
        <xs:sequence>
          <xs:element minOccurs="0" name="State" type="tns:BinaryStatus" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="SwitchToggleBinary" nillable="true" type="tns:SwitchToggleBinary" />
  <xs:complexType name="SwitchToggleMultilevel">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:GenericCommandClass">
        <xs:sequence>
          <xs:element minOccurs="0" name="Level" type="xs:unsignedByte" />
          <xs:element minOccurs="0" name="State" type="tns:BinaryStatus" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="SwitchToggleMultilevel" nillable="true" type="tns:SwitchToggleMultilevel" />
  <xs:complexType name="ThermostatFanMode">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:GenericCommandClass">
        <xs:sequence />
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="ThermostatFanMode" nillable="true" type="tns:ThermostatFanMode" />
  <xs:complexType name="ThermostatFanState">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:GenericCommandClass">
        <xs:sequence />
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="ThermostatFanState" nillable="true" type="tns:ThermostatFanState" />
  <xs:complexType name="ThermostatMode">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:GenericCommandClass">
        <xs:sequence />
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="ThermostatMode" nillable="true" type="tns:ThermostatMode" />
  <xs:complexType name="ThermostatOperatingState">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:GenericCommandClass">
        <xs:sequence />
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="ThermostatOperatingState" nillable="true" type="tns:ThermostatOperatingState" />
  <xs:complexType name="ThermostatSetpoint">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:GenericCommandClass">
        <xs:sequence />
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="ThermostatSetpoint" nillable="true" type="tns:ThermostatSetpoint" />
  <xs:complexType name="Version">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:GenericCommandClass">
        <xs:sequence>
          <xs:element minOccurs="0" name="Application" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Library" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Protocol" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="version" type="xs:unsignedByte" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="Version" nillable="true" type="tns:Version" />
  <xs:complexType name="WakeUp">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:GenericCommandClass">
        <xs:sequence>
          <xs:element minOccurs="0" name="interval" type="xs:unsignedInt" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="WakeUp" nillable="true" type="tns:WakeUp" />
  <xs:complexType name="ApplicationStatus">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:GenericCommandClass">
        <xs:sequence />
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="ApplicationStatus" nillable="true" type="tns:ApplicationStatus" />
  <xs:complexType name="Alarm">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:GenericCommandClass">
        <xs:sequence>
          <xs:element minOccurs="0" name="Level" type="xs:unsignedByte" />
          <xs:element minOccurs="0" name="Type" type="xs:unsignedByte" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="Alarm" nillable="true" type="tns:Alarm" />
  <xs:complexType name="SensorMultiLevel">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:GenericCommandClass">
        <xs:sequence>
          <xs:element minOccurs="0" name="Level" type="xs:int" />
          <xs:element minOccurs="0" name="Type" type="tns:SensorType" />
          <xs:element minOccurs="0" name="Units" nillable="true" type="xs:string" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="SensorMultiLevel" nillable="true" type="tns:SensorMultiLevel" />
  <xs:simpleType name="SensorType">
    <xs:restriction base="xs:string">
      <xs:enumeration value="Unknown" />
      <xs:enumeration value="Temperature" />
      <xs:enumeration value="General" />
      <xs:enumeration value="Luminance" />
      <xs:enumeration value="Power" />
      <xs:enumeration value="RelativeHumidity" />
      <xs:enumeration value="Velocity" />
      <xs:enumeration value="Direction" />
      <xs:enumeration value="AtmosphericPressure" />
      <xs:enumeration value="BarometricPressure" />
      <xs:enumeration value="SolarRadiation" />
      <xs:enumeration value="DewPoint" />
      <xs:enumeration value="RainRate" />
      <xs:enumeration value="TideLevel" />
      <xs:enumeration value="Weight" />
      <xs:enumeration value="Voltage" />
      <xs:enumeration value="Current" />
      <xs:enumeration value="CO2" />
      <xs:enumeration value="AirFlow" />
      <xs:enumeration value="TankCapacity" />
      <xs:enumeration value="Distance" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="SensorType" nillable="true" type="tns:SensorType" />
  <xs:complexType name="Association">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:GenericCommandClass">
        <xs:sequence />
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="Association" nillable="true" type="tns:Association" />
  <xs:complexType name="ManufacturerSpecific">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:GenericCommandClass">
        <xs:sequence />
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="ManufacturerSpecific" nillable="true" type="tns:ManufacturerSpecific" />
  <xs:complexType name="Lock">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:GenericCommandClass">
        <xs:sequence>
          <xs:element minOccurs="0" name="State" type="tns:BinaryStatus" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="Lock" nillable="true" type="tns:Lock" />
  <xs:complexType name="AssociationCommandConfiguration">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:GenericCommandClass">
        <xs:sequence />
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="AssociationCommandConfiguration" nillable="true" type="tns:AssociationCommandConfiguration" />
  <xs:complexType name="Basic">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:GenericCommandClass">
        <xs:sequence>
          <xs:element minOccurs="0" name="Level" type="xs:unsignedByte" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="Basic" nillable="true" type="tns:Basic" />
  <xs:complexType name="BasicWindowCovering">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:GenericCommandClass">
        <xs:sequence />
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="BasicWindowCovering" nillable="true" type="tns:BasicWindowCovering" />
  <xs:complexType name="Battery">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:GenericCommandClass">
        <xs:sequence>
          <xs:element minOccurs="0" name="level" type="xs:unsignedByte" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="Battery" nillable="true" type="tns:Battery" />
  <xs:complexType name="ClimateControlSchedule">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:GenericCommandClass">
        <xs:sequence />
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="ClimateControlSchedule" nillable="true" type="tns:ClimateControlSchedule" />
  <xs:complexType name="Clock">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:GenericCommandClass">
        <xs:sequence>
          <xs:element minOccurs="0" name="Day" type="xs:int" />
          <xs:element minOccurs="0" name="Hour" type="xs:int" />
          <xs:element minOccurs="0" name="Minute" type="xs:int" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="Clock" nillable="true" type="tns:Clock" />
  <xs:complexType name="Configuration">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:GenericCommandClass">
        <xs:sequence />
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="Configuration" nillable="true" type="tns:Configuration" />
  <xs:complexType name="ControllerReplication">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:GenericCommandClass">
        <xs:sequence />
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="ControllerReplication" nillable="true" type="tns:ControllerReplication" />
  <xs:complexType name="EnergyProduction">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:GenericCommandClass">
        <xs:sequence />
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="EnergyProduction" nillable="true" type="tns:EnergyProduction" />
  <xs:complexType name="Hail">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:GenericCommandClass">
        <xs:sequence />
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="Hail" nillable="true" type="tns:Hail" />
</xs:schema>